package net.csdn.business.kanban.common.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import net.csdn.business.kanban.common.constant.CommonConstants;

import java.io.Serializable;
import java.util.Date;

/**
 *  @author: zhangyalei
 *  @Date: 2022/06/16 19:55
 *  @Description:
 */
@Getter
@Setter
public abstract class SuperVO implements Serializable {

    @JsonIgnore
    protected String id;

    @JsonProperty("id")
    protected String objectId;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    protected Date createdDate;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    protected Date lastModifiedDate;

    protected String createdBy;
    protected String createdByUserName;
    protected String createdByUserPhoto;

    protected String lastModifiedBy;



}
